<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<body>
<div th:fragment="header">
    <div class="header">
        <div class="menu-btn">
            <div class="menu"></div>
        </div>
        <h1 class="logo">
            <a href="/">
                <span>MY BLOG</span>
                <img th:src="@{/style/img/logo.png}">
            </a>
        </h1>
        <div class="nav">
            <a href="/" class="">首页</a>
            <a href="/article">文章</a>
            <a href="/guestBook">留言</a>
            <!--<a href="/album.html">相册</a>-->
            <a href="/about">关于</a>
        </div>
        <ul class="layui-nav header-down-nav">
            <li class="layui-nav-item"><a href="/">首页</a></li>
            <li class="layui-nav-item"><a href="/article">文章</a></li>
            <li class="layui-nav-item"><a href="/guestBook">留言</a></li>
            <!--<li class="layui-nav-item"><a href="/album">相册</a></li>-->
            <li class="layui-nav-item"><a href="/about">关于</a></li>
            <span class="layui-nav-bar"></span>
        </ul>
        <p class="welcome-text">
            欢迎来到<span class="name">Mr.Li</span>的博客~
        </p>
    </div>
</div>
</body>
</html>